package cn.iocoder.yudao.module.biz.controller.admin;

import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;


@Api(tags = "业务模块 - Test")
@RestController
@RequestMapping("/biz/test")
@Validated
public class BizTestController {

    @GetMapping("/get")
    @ApiOperation("测试一下")
    public CommonResult<String> get() {
        return success("true");
    }
}
